<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: eosiosystem::account Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceeosiosystem.html">eosiosystem</a></li><li class="navelem"><a class="el" href="structeosiosystem_1_1account.html">account</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structeosiosystem_1_1account-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">eosiosystem::account Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="eosio_8system_8hpp_source.html">eosio.system.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad9c3e1b96d92d5a5256b0f576bcbbf05"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosiosystem_1_1account.html#ad9c3e1b96d92d5a5256b0f576bcbbf05">account</a> (<a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a> b=<a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a>())</td></tr>
<tr class="separator:ad9c3e1b96d92d5a5256b0f576bcbbf05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6855a19b6270d55a110ab67b5635bd0a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosiosystem_1_1account.html#a6855a19b6270d55a110ab67b5635bd0a">is_empty</a> () const</td></tr>
<tr class="separator:a6855a19b6270d55a110ab67b5635bd0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3c8bead034fcd70235d53526c1660964"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosiosystem_1_1account.html#a3c8bead034fcd70235d53526c1660964">key</a> = <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structeosiosystem_1_1account.html">account</a>)</td></tr>
<tr class="separator:a3c8bead034fcd70235d53526c1660964"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8260c7660e53a05a913f37a5fa2ea6d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosiosystem_1_1account.html#a8260c7660e53a05a913f37a5fa2ea6d9">balance</a></td></tr>
<tr class="separator:a8260c7660e53a05a913f37a5fa2ea6d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b49e1213612a21d2ee7611bba07a4ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosiosystem_1_1account.html#a3b49e1213612a21d2ee7611bba07a4ec">vote_stake</a></td></tr>
<tr class="separator:a3b49e1213612a21d2ee7611bba07a4ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa94b814e957456d93c77ce98da79732d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosiosystem_1_1account.html#aa94b814e957456d93c77ce98da79732d">proxied_vote_stake</a></td></tr>
<tr class="separator:aa94b814e957456d93c77ce98da79732d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4df68a217bfe8c3d1d7ce9c641c4e4e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosiosystem_1_1account.html#a4df68a217bfe8c3d1d7ce9c641c4e4e8">last_vote_weight</a> = 0</td></tr>
<tr class="separator:a4df68a217bfe8c3d1d7ce9c641c4e4e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5cb3004e5b7def183c48cd2706bcad9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosiosystem_1_1account.html#ad5cb3004e5b7def183c48cd2706bcad9">proxy</a></td></tr>
<tr class="separator:ad5cb3004e5b7def183c48cd2706bcad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This table is used to track an individual user's token balance and vote stake.</p>
<p>Location:</p>
<p>{ code: system_code scope: ${owner_account_name} table: <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529" title="used to generate a compile time uint64_t from the base32 encoded string interpretation of X ...">N(singlton)</a> key: <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529" title="used to generate a compile time uint64_t from the base32 encoded string interpretation of X ...">N(account)</a> } </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad9c3e1b96d92d5a5256b0f576bcbbf05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9c3e1b96d92d5a5256b0f576bcbbf05">&#9670;&nbsp;</a></span>account()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosiosystem::account::account </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a>&#160;</td>
          <td class="paramname"><em>b</em> = <code><a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a>()</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor with default zero quantity (balance). </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6855a19b6270d55a110ab67b5635bd0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6855a19b6270d55a110ab67b5635bd0a">&#9670;&nbsp;</a></span>is_empty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool eosiosystem::account::is_empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Method to check if accoutn is empty. </p><dl class="section return"><dt>Returns</dt><dd>true if account balance is zero. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a8260c7660e53a05a913f37a5fa2ea6d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8260c7660e53a05a913f37a5fa2ea6d9">&#9670;&nbsp;</a></span>balance</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a> eosiosystem::account::balance</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Balance number of tokens in account </p>

</div>
</div>
<a id="a3c8bead034fcd70235d53526c1660964"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c8bead034fcd70235d53526c1660964">&#9670;&nbsp;</a></span>key</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> eosiosystem::account::key = <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structeosiosystem_1_1account.html">account</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The key is constant because there is only one record per scope/currency/accounts </p>

</div>
</div>
<a id="a4df68a217bfe8c3d1d7ce9c641c4e4e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4df68a217bfe8c3d1d7ce9c641c4e4e8">&#9670;&nbsp;</a></span>last_vote_weight</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> eosiosystem::account::last_vote_weight = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa94b814e957456d93c77ce98da79732d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa94b814e957456d93c77ce98da79732d">&#9670;&nbsp;</a></span>proxied_vote_stake</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a> eosiosystem::account::proxied_vote_stake</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad5cb3004e5b7def183c48cd2706bcad9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5cb3004e5b7def183c48cd2706bcad9">&#9670;&nbsp;</a></span>proxy</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> eosiosystem::account::proxy</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3b49e1213612a21d2ee7611bba07a4ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b49e1213612a21d2ee7611bba07a4ec">&#9670;&nbsp;</a></span>vote_stake</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceeosiosystem.html#a9fcdd76a36dbf12231c8435676e52e19">native_tokens</a> eosiosystem::account::vote_stake</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>contracts/eosio.system/<a class="el" href="eosio_8system_8hpp_source.html">eosio.system.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
